<html>
<head><meta charset="utf-8"><title>Enable built-in check in RA · t-compiler/help · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/index.html">t-compiler/help</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Enable.20built-in.20check.20in.20RA.html">Enable built-in check in RA</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="247579928"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Enable%20built-in%20check%20in%20RA/near/247579928" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Mossa <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Enable.20built-in.20check.20in.20RA.html#247579928">(Jul 29 2021 at 13:03)</a>:</h4>
<p>Is there a way to enable the built-in check in RA, where it is activated by something else then a save?</p>



<a name="247580269"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Enable%20built-in%20check%20in%20RA/near/247580269" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Enable.20built-in.20check.20in.20RA.html#247580269">(Jul 29 2021 at 13:06)</a>:</h4>
<p>No, the files need to be saved to the disk for rustc to be able to see them. See <a href="https://github.com/rust-analyzer/rust-analyzer/issues/3107">https://github.com/rust-analyzer/rust-analyzer/issues/3107</a></p>



<a name="247580601"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Enable%20built-in%20check%20in%20RA/near/247580601" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Mossa <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Enable.20built-in.20check.20in.20RA.html#247580601">(Jul 29 2021 at 13:09)</a>:</h4>
<p>Yeah, I understand that, but I want to re-map the checking to another button :)</p>



<a name="247580666"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Enable%20built-in%20check%20in%20RA/near/247580666" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jonas Schievink  [he/him] <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Enable.20built-in.20check.20in.20RA.html#247580666">(Jul 29 2021 at 13:09)</a>:</h4>
<p>you can do that on the client-side, but the files do still need to be saved for it to work</p>



<a name="247580990"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Enable%20built-in%20check%20in%20RA/near/247580990" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Mossa <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Enable.20built-in.20check.20in.20RA.html#247580990">(Jul 29 2021 at 13:12)</a>:</h4>
<p>Yeah, I'm only finding the <code>"rust-analyzer.checkOnSave.enable": false,</code> and clicking on the rust-analyzer button doesn't do it either.</p>



<a name="247581057"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Enable%20built-in%20check%20in%20RA/near/247581057" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jonas Schievink  [he/him] <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Enable.20built-in.20check.20in.20RA.html#247581057">(Jul 29 2021 at 13:13)</a>:</h4>
<p>ah, so you want a dedicated command for running <code>cargo check</code>, that makes sense</p>



<a name="247581327"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Enable%20built-in%20check%20in%20RA/near/247581327" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Mossa <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Enable.20built-in.20check.20in.20RA.html#247581327">(Jul 29 2021 at 13:15)</a>:</h4>
<p>I have customized it a bit so it builds examples, tests, and bins. Inside of the vscode settings JSON. I want to run that after I've fixed a "selection" of my issues. Right now, I get 120 problems/errors. I fix 4 of them in one file, press save, and then RA runs the check.. But I don't need it to do that just yet. I just need to go through some more of the problems.<br>
If I have a <code>cargo watch</code> going, it is the same thing.<br>
So I thought, I can just press the RA-tag on the buttom line. But that doesn't run a check. It runs something else.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>